#include "head.h"
#include <stdio.h>
void ascii(char *name)
{
  FILE *fp;
  char ch;
    fp=fopen(name,"r");
    ch=fgetc(fp);
  printf("output the ascii:\n");

  while(ch!=EOF)
  {
     if(ch=='\n')
        printf("\n");
     else
        printf("%4d",ch);
        ch=fgetc(fp);
  }
  fclose(fp);

}
